ARM: Factor out reusable psci_get_cpu_stack_top
authorJan Kiszka <[email protected]>
Tue, 21 Apr 2015 05:18:29 +0000 (07:18 +0200)
committerTom Warren <[email protected]>
Wed, 13 May 2015 16:24:14 +0000 (09:24 -0700)
commit4c681a3d22f0018186d83d753be566965c0cf7a5
treed772ea9cb077179b11860c5da0da4536170ed5e3
parent4ce4de1e6618340177eeb0914fc86054c6cc6dca
ARM: Factor out reusable psci_get_cpu_stack_top

This algorithm will be useful on Tegra as well, plus we will need it for
making _psci_target_pc per-CPU.

CC: Marc Zyngier <[email protected]>
Signed-off-by: Jan Kiszka <[email protected]>
Reviewed-by: Tom Rini <[email protected]>
Reviewed-by: Thierry Reding <[email protected]>
Tested-by: Thierry Reding <[email protected]>
Tested-by: Ian Campbell <[email protected]>
Signed-off-by: Tom Warren <[email protected]>
arch/arm/cpu/armv7/psci.S
arch/arm/cpu/armv7/sunxi/psci.S